<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .logon {
            width: 1200px;
            margin: auto;

        }

        .form {
            width: 400px;
            margin: auto;
            margin-top: 20%;
        }

        input[type="submit"] {
            width: 350px;
            margin: auto;
        }

        input[type='text'] {
            float: right;
            width: 300px;
        }

        input[type='password'] {
            float: right;
            width: 300px;
        }

        * {
            padding: 0;
            margin: 0;
        }

        .form a {
            float: right;
        }
    </style>
</head>

<body>
    <div class="logon">
        <div class="form">
            <!-- <form action="/logon" method="post" class="form"> -->
        用户名：<input type="text" name="username"><br>
        密码：<input type="password" name="pwd" id=""><br>
        <input type="submit" value="登录"><a href="/register">注册</a>
        <!-- </form> -->
        </div>
        
    </div>
    <script src="/js/logon.js" type="module"></script>
</body>

</html>